package com.lp.biz.operations.model.vo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * @program: backend
 * @description:
 * @author: Ke.Song
 * @since: 2024-07-19 20:28:44
 */
@Data
public class CategoryAdd {

    private Integer contentId;

    @NotNull(message = "开始时间不能为空")
    private LocalDate startAt;

    @NotNull(message = "结束时间不能为空")
    private LocalDate endAt;
}
